﻿<MVVMBase:WindowExtenBase
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:MVVMBase="clr-namespace:EzDesk.MVVMBase;assembly=EzDesk.MVVMBase"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="EzDesk.DesktopClient.View.ShellView"
        AllowsTransparency="True"
        WindowStyle="None" 
        Background="Transparent"
        WindowStartupLocation="Manual"
        Top="0"
        Left="600"
        Title="MainWindow" SizeToContent="WidthAndHeight"
        Hyperlink.RequestNavigate="ContentControl_RequestNavigate">
    <Grid x:Name="LayoutRoot" Width="444" Height="760" HorizontalAlignment="Right">
        <Border CornerRadius="5" BorderThickness="1" BorderBrush="{StaticResource BorderGray}" Margin="70,10,15,15" Background="{DynamicResource ShellBackgroundBrush}">
        	<Border.Effect>
        		<DropShadowEffect BlurRadius="15"/>
        	</Border.Effect>
            <Grid>
        		<Grid x:Name="MainGrid" Margin="2,-1,2,5">
        			<Grid.RowDefinitions>
        				<RowDefinition x:Name="TopRow" Height="20"/>
        				<RowDefinition x:Name="SelfInfoRow" Height="Auto"/>
        				<RowDefinition x:Name="SplitRow" Height="Auto"/>
        				<RowDefinition x:Name="MainRow" Height="*"/>
        			</Grid.RowDefinitions>
        			<ContentControl Content="{Binding TopPanelViewModel.View}" Grid.Row="0" x:Name="TopContent" Margin="0,0,-3,0"  />
                    <ContentControl Content="{Binding SelfInfoViewModel.View}" Grid.Row="1" x:Name="SelfInfoContent" Margin="0" Panel.ZIndex="100"/>
                    <ContentControl Content="{Binding ActionViewModel.ResultInformation}" x:Name="NotificationContent" Grid.Row="2" />
        			<ContentControl Content="{Binding MainViewModel.View}" x:Name="MainContent" Background="Transparent" Grid.Row="3" />
        		</Grid>
        	</Grid>
        </Border>
    </Grid>
</MVVMBase:WindowExtenBase>
